package com.htd.htdapmapi.alarm.dto;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class AlertsDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

//	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
//	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
//	private Date endsAt;

	private String endsAt;
	
	private LabelsDto labels;
	
	private String status;
	
//	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
//	private Date startsAt;
	private String startsAt;
	
	private AnnotationsDto annotations;
	
	private String generatorURL;
}
